package com.example.demo;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

import zipkin2.server.internal.EnableZipkinServer;

@SpringBootApplication
@EnableZipkinServer
public class ServerZipkinApplication {

	public static void main(String[] args) {
		SpringApplication.run(ServerZipkinApplication.class, args);
		
//		new SpringApplicationBuilder(ServerZipkinApplication.class)
//        .listeners(new RegisterZipkinHealthIndicators())
//        .properties("spring.config.name=zipkin-server")
//        //.properties("spring.config.location=classpath:/springcloud/zipkin-server.yml").run(args);
//        .run(args);
	}

}
